package com.koron.css2.newProjectCenter.mapper;

import com.koron.css2.newProjectCenter.bean.PjMeterMaterialBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PjMeterMaterialMapper {

    int countMeterMaterial(@Param("pjId") String pjId, @Param("pjMaterialId") String pjMaterialId);

    PjMeterMaterialBean selectMeterMaterial(String materialNo);

    List<PjMeterMaterialBean> selectByPjId(String pjId);

    int batchAddPjMeterMaterial(@Param("pjMeterMaterialList") List<PjMeterMaterialBean> pjMeterMaterialList);

    int deleteByPjId(String pjId);

    int deleteById(String id);

}
